import 'package:seedfour/app/models/case_list_entity.dart';
import 'package:seedfour/generated/json/base/json_field.dart';
import 'package:seedfour/generated/json/case_all_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class CaseAllEntity {
	int? total;
	List<CaseInfo>? all;

	CaseAllEntity();

	factory CaseAllEntity.fromJson(Map<String, dynamic> json) => $CaseAllEntityFromJson(json);

	Map<String, dynamic> toJson() => $CaseAllEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}